package com.zy.edu.bean;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author HuangHaiShui
 * @since 2021-08-26
 */
@TableName("course_chapter_homework_stu")
@Data
public class CourseChapterHomeworkStu implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;
    /**
     * 作业id
     */
    @TableField("hk_id")
    private String hkId;
    /**
     * 学生id
     */
    @TableField("user_id")
    private String userId;
    @TableField("class_id")
    private String classId;
    @TableField("course_id")
    private String courseId;
    /**
     * 课时id
     */
    @TableField("chapter_id")
    private String chapterId;
    @TableField("create_time")
    @JSONField(format="yyyy-MM-dd hh:mm:ss")
    private Date createTime;
    /**
     * 备注
     */
    private String intro;
    /**
     * 分数
     */
    private Integer score;
    /**
     * 自主能力
     */
    @TableField("ability_autonomy")
    private Integer abilityAutonomy;
    /**
     * 创造能力
     */
    @TableField("ability_create")
    private Integer abilityCreate;
    /**
     * 自学能力
     */
    @TableField("ability_self")
    private Integer abilitySelf;
    /**
     * 实操能力
     */
    @TableField("ability_opera")
    private Integer abilityOpera;
    /**
     * 思维能力
     */
    @TableField("ability_mind")
    private Integer abilityMind;
    /**
     * 状态：1 发布；0 删除 ；2 提交  3 评分
     */
    private Integer status;

    /**
     *作业地址
     **/
    private String url;

    @TableField(exist = false)
    CourseChapterHomework courseChapterHomework;

    @TableField(exist = false)
    String stuName;
}
